package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.CumDeliveryDao;
import com.lphj.datainterface.entity.CumDelivery;
import com.lphj.datainterface.service.CumDeliveryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CumDeliveryServiceImpl implements CumDeliveryService {

    @Autowired
    CumDeliveryDao cumDeliveryDao;

    @Override
    public int addCumDelivery(CumDelivery cumDelivery) {
        return cumDeliveryDao.AddCumDelivery(cumDelivery);
    }

    @Override
    public void callST_CumDeliveryImport(String paperNO, String userName) {
        cumDeliveryDao.CallST_CumDeliveryImport(paperNO,userName);
    }

    @Override
    public int changeAmt(String paperNO) {
        return cumDeliveryDao.ChangeAmt(paperNO);
    }
}
